# -*- coding: utf-8 -*-
# @Time : 2023/11/13 17:28
# @Author : yuancheng
# @File : 百鸡百钱.py.py
count=0
for x in range(1,20):
    for y in range(1,33):
        z=100-x-y
        if z>0 and 5*x+3*y+z/3==100:
           count+=1
           print("="*60)
           print(f'第{count}种买法，买{x}只公鸡，买{y}只母鸡，买{z}只小鸡')




